﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DataAccess.Core.Attributes;

namespace MVCPets.Data.Model
{
	public class Image
	{
		[Key(SetOnInsert=true, FieldType="uniqueidentifer")]
		public string ID { get; set; }

		[DataField(PrimaryKeyType=typeof(Pet))]
		public string Pet { get; set; }

		[DataField(LoadField=false)]
		public byte[] ImageData { get; set; }
		public string ContentType { get; set; }
	}
}